package com.wzy.oa_sys.model.request.task;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class TaskReq {
    @JsonProperty("id")
    private long id;
    @JsonProperty("type")
    private String type;
    @JsonProperty("title")
    private String title;
    @JsonProperty("desc")
    private String desc;
    @JsonProperty("starttime")
    private LocalDateTime starttime;
    @JsonProperty("deadline")
    private LocalDateTime deadline;
    @JsonProperty("promoter")
    private long promoter;
    @JsonProperty("deptname")
    private long deptname;
    @JsonProperty("receiverList")
    private List<Long> receiverList;
    @JsonProperty("state")
    private String state;
    @JsonProperty("priority")
    private int priority;
    @JsonProperty("charge")
    private long charge;
    @JsonProperty("reviewer")
    private long reviewer;
    @JsonProperty("exreason")
    private String exreason;
}
